package com.wing.warehouse.model.response;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 移库下货详情表VO
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class MoveDownWarehouseItermVO {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    private Long creator;

    /**
     * 修改人
     */
    private Long modifier;

    /**
     * 移库编号
     */
    private String moveDownNumber;

    /**
     * 移库明细编号
     */
    private String moveDownItermNumber;

    /**
     * 移出仓库ID
     */
    private Long outWarehouseId;

    /**
     * 移出仓库名称
     */
    private String outWarehouseName;

    /**
     * 移出出库仓库库区ID
     */
    private Long outWarehouseAreaId;

    /**
     * 移出出库仓库库位ID
     */
    private Long outWarehouseShelfSpaceId;

    /**
     * 出库料箱id
     */
    private Long outPalletBoxId;

    /**
     * 移入仓库id
     */
    private Long inWarehouseId;

    /**
     * 移入仓库名称
     */
    private String inWarehouseName;

    /**
     * 移入仓库库区ID
     */
    private Long inWarehouseAreaId;

    /**
     * 移入仓库库位ID
     */
    private Long inWarehouseShelfSpaceId;

    /**
     * 移入料箱id
     */
    private Long inPalletBoxId;

    /**
     * 本次移库数量
     */
    private BigDecimal moveNum;

    /**
     * 0 待入库 1入库中 2 完成 3 取消
     */
    private Integer status;

    /**
     * sku_id
     */
    private Long skuId;

    /**
     * sku名称
     */
    private String skuName;

    /**
     * sku编码
     */
    private String skuCode;

    /**
     * sku规格
     */
    private String skuSpec;

    /**
     * 原在库数量
     */
    private BigDecimal firstNum;

    /**
     * 创建人名称
     */
    private String creatorName;

    /**
     * 修改人名称
     */
    private String modifierName;
    
    private String statusName;

    /**
     * 调拨任务id
     */
    private Long moveDownId;

    /**
     * 调拨后剩余数量
     */
    private BigDecimal leaveNum;

}
